package service;

import entity.ResponseMessage;
import entity.Role;

/**
 * The interface Role service.
 *
 * @author overlook
 * @date 2022 -04-16 20:15:01
 */
public interface RoleService {
    /**
     * Find all role response message.
     *
     * @param role the role
     * @return the response message
     */
    ResponseMessage findAllRole(Role role);

    /**
     * Insert role response message.
     *
     * @param role the role
     * @return the response message
     */
    ResponseMessage insertRole(Role role);

    /**
     * Update role response message.
     *
     * @param role the role
     * @return the response message
     */
    ResponseMessage updateRole(Role role);

    /**
     * Delete response message.
     *
     * @param id the id
     * @return the response message
     */
    ResponseMessage delete(Integer id);
}
